<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
</head>
<body>
	<button>add</button>
	<script type="text/javascript">
		$(function(){
			$("button").on("click",function(){
				var user = {name:'Evan',age:23,birth:'1997-07-01'};
				$.ajax({
					type:"POST",
					url:"test5",
					data:JSON.stringify(user),
					contentType:"application/json"	
				})
				.done(function(user){
					alert(user.name+"..."+user.age+"..."+new Date(user.birth));
				});
			})
		});
	</script>
</body>
</html>